package sample.user.hystrix.data;

import java.time.LocalDateTime;
import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import sample.data.sqlite.entity.user.UserEntity;
import sample.user.consumer.data.UserDataConsumer;


@Component
public class UserDataHystrix implements UserDataConsumer {
	
	private final Logger logger = LoggerFactory.getLogger(this.getClass()); 

	@Override
	public List<UserEntity> getUser() {
		logger.info("UserDataHystrix Exception : " + LocalDateTime.now().toString());
		return null;
	}



}
